package com.moneydance.modules.features.myposition;

import java.awt.LayoutManager;

import javax.swing.JPanel;

public class MyPositionPanel extends JPanel { // implements Scrollable {

	
	
	public MyPositionPanel() {
		super();
	}

	public MyPositionPanel(boolean isDoubleBuffered) {
		super(isDoubleBuffered);
	}

	public MyPositionPanel(LayoutManager layout, boolean isDoubleBuffered) {
		super(layout, isDoubleBuffered);
	}

	public MyPositionPanel(LayoutManager layout) {
		super(layout);
	}
	
//	public boolean getScrollableTracksViewportWidth() {
//		return true;
//	}
//
//	public boolean getScrollableTracksViewportHeight() {
//		return false;
//	}
//	
//	public Dimension getPreferredScrollableViewportSize() {
//		return getPreferredSize();
//	}
//
//	public int getScrollableBlockIncrement(Rectangle visibleRect,
//			int orientation, int direction) {
//		return 100;
//	}
//
//	public int getScrollableUnitIncrement(Rectangle visibleRect,
//			int orientation, int direction) {
//		return 10;
//	}
//
//	public Dimension getPreferredSize() {
//		Dimension d = super.getPreferredSize();
//	    if (getParent() == null)
//	      return d;
//	    return new Dimension(getParent().getWidth(), d.height);
//	}
	
 	
	
}
 

 